Polynomial Expressions of Carries in p-ary Arithmetics
نویسندگان
چکیده
It is known that any n-variable function on a finite prime field of characteristic p can be expressed as a polynomial over the same field with at most pn monomials. However, it is not obvious to determine the polynomial for a given concrete function. In this paper, we study the concrete polynomial expressions of the carries in addition and multiplication of p-ary integers. For the case of addition, our result gives a new family of symmetric polynomials, which generalizes the known result for the binary case p = 2 where the carries are given by elementary symmetric polynomials. On the other hand, for the case of multiplication of n single-digit integers, we give a simple formula of the polynomial expression for the carry to the next digit using the Bernoulli numbers, and show that it has only (n + 1)(p − 1)/2 + 1 monomials, which is significantly fewer than the worst-case number pn of monomials for general functions. We also discuss applications of our results to cryptographic computation on encrypted data. Remark. The authors are notified that the essential part of our Theorem 2 appears (by a different approach) in: C. Sturtivant, G. S. Frandsen, The Computational Efficacy of Finite-Field Arithmetic, Theoretical Computer Science 112 (1993) 291–309 (see Theorem 9.1(a) and Theorem 11.2 in that paper). The authors deeply thank Akihiro Munemasa for the information. The authors would like to keep this preprint online for reference purposes.
منابع مشابه
The weighted lattice polynomials as aggregation functions
In lattice theory, lattice polynomials have been defined as well-formed expressions involving variables linked by the lattice operations ∧ and ∨ in an arbitrary combination of parentheses. In turn, such expressions naturally define lattice polynomial functions. For instance, p(x1, x2, x3) = (x1 ∧ x2) ∨ x3 is a 3-ary lattice polynomial function. The concept of lattice polynomial function can be ...
متن کاملApplication of fundamental relations on n-ary polygroups
The class of $n$-ary polygroups is a certain subclass of $n$-ary hypergroups, a generalization of D{"o}rnte $n$-arygroups and a generalization of polygroups. The$beta^*$-relation and the $gamma^*$-relation are the smallestequivalence relations on an $n$-ary polygroup $P$ such that$P/beta^*$ and $P/gamma^*$ are an $n$-ary group and acommutative $n$-ary group, respectively. We use the $beta^*$-...
متن کاملA Smooth Combination of Linear and Herbrand Equalities for Polynomial Time Must-Alias Analysis
We present a new domain for analyzing must-equalities between address expressions. The domain is a smooth combination of Herbrand and affine equalities which enables us to describe field accesses and array indexing. While the full combination of uninterpreted functions with affine arithmetics results in intractable assertion checking algorithms, our restricted domain allows us to construct an a...
متن کاملSemantics Transformation of Arithmetic Expressions
Floating-point arithmetics is an important source of errors in programs because of the precision loss arising during a computation. Unfortunately, this arithmetics is not intuitive (e.g. many elementary operations are not associative, inversible, etc.) making the debugging phase very difficult and empiric. This article introduces a new kind of program transformation in order to automatically im...
متن کاملFunctional Limit Theorems for Digital Expansions
The main purpose of this paper is to discuss the asymptotic behavior of the difference sq,k(P (n))−k(q−1)/2 where sq,k(n) denotes the sum of the first k digits in the q-ary digital expansion of n and P (x) is an integer polynomial. We prove that this difference can be approximated by a Brownian motion and obtain under special assumptions on P a Strassen’s type version of the law of the iterated...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1506.02742 شماره
صفحات -
تاریخ انتشار 2015